package com.zb.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 产品参数字段值关联表
 * </p>
 *
 * @author WEN
 * @since 2023-10-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ZjProductParamFieldVal对象", description="产品参数字段值关联表")
public class ZjProductParamFieldVal implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主健ID")
    private Long id;

    @ApiModelProperty(value = "商家ID")
    private Long custAccId;

    @ApiModelProperty(value = "产品参数关联表ID")
    private Long productParamId;

    @ApiModelProperty(value = "商品参数字段表ID")
    private Long goodsParamFieldId;

    @ApiModelProperty(value = "1-文本，2-多行文本，3-单选，4-多选，5-多图，6-附件，7-视频，8-评分")
    private Integer type;

    @ApiModelProperty(value = "字段名称")
    private String name;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtUpdate;


}
